Leat\WebhookManager A

Total Complexity 64
Dependencies 7
Dependents 5
Total lines 427
Lines of code 277
Logical lines of code 155
Comment lines 40
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
ensure_webhooks_installed()
C
33 23 99
sync_webhooks()
A
45 12 42
handle_webhook()
S
57 6 19
get_webhooks()
S
52 5 25
handle_voucher_updated()
S
61 2 13
handle_voucher_created()
S
61 2 13
handle_voucher_deleted()
S
61 2 13
handle_voucher_redeemed()
S
61 2 13
handle_contact_updated()
S
61 2 12
init()
S
67 2 7
check_webhooks()
S
68 2 7
__construct()
S
76 1 4
install_webhooks()
S
82 1 3
cleanup()
S
77 1 4
get_required_webhooks()
S
81 1 3